export default class BPObject {
    public name: string = '';
    public x: number = 0;
    public y: number = 0;
    public width: number = 100;
    public height: number = 100;
    public lineWidth: number = 10;
    public roundRectAngle: number = 5;
    public fillColor = cc.Color.GRAY;
    public lineColor = cc.Color.WHITE;
    public labelNameNode: cc.Node = new cc.Node();
    public labelCom;
    public out: number[] = [];
    public in: number[] = [];
    public type: string = '';
    constructor(type) {
        this.type = type;
        this.labelCom = this.labelNameNode.addComponent(cc.Label);
    }

}